import 'package:flutter/material.dart';
// import 'app.dart';

// void main(){
//   runApp(new LoanBoxApp());
// }
import 'components/bottom_navigation_widget.dart';

void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'Flutter bottomNavigationBar',
      // theme: new ThemeData.dark(),
      home: BottomNavigationWidget(),
//    home: NavigationKeepAlive(),
    );
  }
}


// import 'MainPage.dart';
 
// void main() => runApp(new MyApp());
 
// class MyApp extends StatelessWidget {
//   @override
//   Widget build(BuildContext context) {
//     return new MaterialApp(
//       theme: new ThemeData(
//         primarySwatch: Colors.blue,
//       ),
//       home: MainPage(),//启动MainPage
//     );
//   }
// }